package ar.edu.unlp.info.lifia.grupo5.service;

import java.util.Date;

import ar.edu.unlp.info.lifia.grupo5.dao.UserDAO;
import ar.edu.unlp.info.lifia.grupo5.model.User;

public class UserService {
	
	public void registerUser(String name, String lastName, String email, Date birth){
		User user = new User(name,lastName,email,birth);
		UserDAO userDAO= new UserDAO();
		userDAO.save(user);
	}

}
